package com.woniu.service;

import com.woniuxy.commons.entity.*;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-20 10:53
 * @description:题库操作类
 */
public interface OperateBankService {
    //    选择题操作
    int insertSelectBank(SelectBank selectBank);

    int updateSelectBank(SelectBank selectBank);

    int deleteSelectBank(long selectId);

    //    填空题操作
    int insertVacancyBank(VacancyBank vacancyBank);

    int updateVacancyBank(VacancyBank vacancyBank);

    int deleteVacancyBank(long vacancyId);

    //    判断题操作
    int insertJudgeBank(JudgeBank judgeBank);

    int updateJudgeBank(JudgeBank judgeBank);

    int deleteJudgeBank(long judgeId);

    //    短文改错操作
    int insertReviseBank(ReviseBank reviseBank);

    int updateReviseBank(ReviseBank reviseBank);

    int deleteReviseBank(long reviseId);

    //    作文题操作
    int insertWriterBank(WriterBank writerBank);

    int updateWriterBank(WriterBank writerBank);

    int deleteWriterBank(long writerId);

    //    材料题操作
    int insertMaterialBank(MaterialBank materialBank);

    int updateMaterialBank(MaterialBank materialBank);

    int deleteMaterialBank(long materialId);

    //    完型填空操作
    int insertClozeBank(ClozeBank clozeBank);

    int updateClozeBank(ClozeBank clozeBank);

    int deleteClozeBank(long clozeId);
}
